package com.mata.worktime.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mata.worktime.entity.BaseEntity;


/**
 * 用户和岗位关联 sys_user_post
 *
 * @author 占超群
 */
@TableName("t_sys_user_post")
public class UserPost extends BaseEntity
{
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 岗位ID
     */
    private Long postId;

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public Long getPostId()
    {
        return postId;
    }

    public void setPostId(Long postId)
    {
        this.postId = postId;
    }

    @Override
    public String toString()
    {
        return "UserPost [userId=" + userId + ", postId=" + postId + "]";
    }

}
